<?php
session_start();
error_reporting(0);
if($_SESSION['username']!="")
{
?>
<!DOCTYPE html>
<html lang="en">
 <head>
     <? include "./include/head.php"; ?>
	  <? include "./include/js.php"; ?>
  </head>
  <body>
  <? include "./include/body.php"; ?>
		<?php
$key=$_GET["id_transfer"];

mysql_connect("localhost","root");
mysql_select_db("db_sipemenang");
$sql=mysql_query("delete from bukti_pembayaran where id_pembayaran='".$key."'");
if ($sql){
echo"<script>alert('Data Berhasil Dihapus')</script>";
echo"<script>history.back();</script>"; 
}
else {echo mysql_error();}
?>
    <footer>
        <p><center>&nbsp;&nbsp;&copy; Hanjuang.com 2013 Develop By Selly Riantica Frasellia</center></p>
      </footer>

    </div><!--/.fluid-container-->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="./assets/js/jquery.js"></script>
    <script src="./assets/js/bootstrap-transition.js"></script>
    <script src="./assets/js/bootstrap-alert.js"></script>
    <script src="./assets/js/bootstrap-modal.js"></script>
    <script src="./assets/js/bootstrap-dropdown.js"></script>
    <script src="./assets/js/bootstrap-scrollspy.js"></script>
    <script src="./assets/js/bootstrap-tab.js"></script>
    <script src="./assets/js/bootstrap-tooltip.js"></script>
    <script src="./assets/js/bootstrap-popover.js"></script>
    <script src="./assets/js/bootstrap-button.js"></script>
    <script src="./assets/js/bootstrap-collapse.js"></script>
    <script src="./assets/js/bootstrap-carousel.js"></script>
    <script src="./assets/js/bootstrap-typeahead.js"></script>
    <script type="text/javascript" src="./assets/js/jquery.tools.min.js"></script>
    <script>flashembed("jam", "./assets/img/jam.swf");</script>
    <?php
    ?>
  </body>
</html>
<?php
    }
else {
    include 'warning.php';
}
?>